{"version":3,"sources":["script.js"],"names":["BX","namespace","UI","ToolbarManager","toolbars","create","options","toolbar","Toolbar","this","get","getId","Error","getDefaultToolbar","id","type","isPlainObject","titleMinWidth","isNumber","titleMaxWidth","filterMinWidth","filterMaxWidth","currentFavoriteId","initPagetitleStar","Type","isStringFilled","Text","getRandom","toolbarContainer","target","isDomNode","titleContainer","querySelector","filterContainer","filterButtons","rightButtons","afterTitleButtons","buttons","Object","buttonIds","isArray","length","forEach","buttonId","button","ButtonManager","createByUniqId","getContainer","originalWidth","offsetWidth","getIcon","getDataSet","getColor","ButtonColor","PRIMARY","setDataSet","toolbarCollapsedIcon","ButtonIcon","ADD","console","warn","getText","windowWidth","document","body","reduceItemsWidth","window","addEventListener","isWindowIncreased","increaseItemsWidth","bind","prototype","getButtons","getButton","previousWindowWidth","currentWindowWidth","getContainerSize","getInnerTotalWidth","scrollWidth","values","i","isCollapsed","setCollapsed","setIcon","item","newInnerWidth","starContNode","addClass","adminFav","titleLinkClick","hasClass","removeClass","setTimeout"],"mappings":"CAAC,WACA,aAEAA,GAAGC,UAAU,SAEbD,GAAGE,GAAGC,gBAELC,YAMAC,OAAQ,SAASC,GAEhB,IAAIC,EAAU,IAAIP,GAAGE,GAAGM,QAAQF,GAEhC,GAAIG,KAAKC,IAAIH,EAAQI,SACrB,CACC,MAAM,IAAIC,MAAM,2DAGjBH,KAAKL,SAASG,EAAQI,SAAWJ,EAEjC,OAAOA,GAORM,kBAAmB,WAElB,OAAOJ,KAAKC,IAAI,oBAOjBA,IAAK,SAASI,GAEb,OAAOA,KAAML,KAAKL,SAAWK,KAAKL,SAASU,GAAM,OAInDd,GAAGE,GAAGM,QAAU,SAASF,GAExBA,EAAUN,GAAGe,KAAKC,cAAcV,GAAWA,KAE3CG,KAAKQ,cAAgBjB,GAAGe,KAAKG,SAASZ,EAAQW,eAAiBX,EAAQW,cAAgB,IACvFR,KAAKU,cAAgBnB,GAAGe,KAAKG,SAASZ,EAAQa,eAAiBb,EAAQa,cA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